#ifndef _FOODMENU_H_
#define _FOODMENU_H_		1
#include "std.h"
#include "pointlist.h"
struct foodmenu
{
	int foodid;
	char name[32];
	int price;
	int remain;
	char comment[64];
	int time;
	struct pointlist pointer;
	int flag;
};
#define FOODMENU_DECLARE(fm_new) struct foodmenu *fm_new = NULL
#define FOODMENU_GETMEM(fm_tmp) fm_tmp = (struct foodmenu *)calloc(1, sizeof(struct foodmenu))
extern void foodmenu_add(struct pointlist *, char *, int, int, char *, int);
extern void foodmenu_show_foreach(struct pointlist *);
extern void foodmenu_show(struct foodmenu *);
extern void foodmenu_searchid(struct foodmenu *);
#endif		/* foodmenu.h end */